Fix ia64 build. Two typos in header files.
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 24 Nov 2005 10:03:07 +0000 (11:03 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 24 Nov 2005 10:03:07 +0000 (11:03 +0100)
Signed-off-by: Keir Fraser <keir@xensource.com>
xen/include/asm-ia64/grant_table.h
xen/include/asm-ia64/mm.h

index 763361e23aeff05d5398e02feff20a0439284481..5bf3f68bd05cdc9c58878dd6594aba3bb95881cc 100644 (file)
@@ -16,7 +16,7 @@
 
 #define gnttab_shared_mfn(d, t, i)                                      \
     ( ((d) == dom0) ?                                                   \
-      ((virt_to_phys((t)shared) >> PAGE_SHIFT) + (i)) :                 \
+      ((virt_to_phys((t)->shared) >> PAGE_SHIFT) + (i)) :               \
       (map_domain_page((d), 1UL<<40, virt_to_phys((t)->shared)),        \
        1UL << (40 - PAGE_SHIFT))                                        \
     )
index 899f37b69063d7dbadc7bafb8d4e42fc09ee05d3..8ab80ab5dc9341b2dde2b5eb6e58ce7ee0e54799 100644 (file)
@@ -82,7 +82,7 @@ struct page
 #define PGT_l2_page_table   (2<<29) /* using this page as an L2 page table? */
 #define PGT_l3_page_table   (3<<29) /* using this page as an L3 page table? */
 #define PGT_l4_page_table   (4<<29) /* using this page as an L4 page table? */
-#define PGT_writeable_page  (5<<29) /* has writable mappings of this page? */
+#define PGT_writable_page   (5<<29) /* has writable mappings of this page? */
 #define PGT_type_mask       (5<<29) /* Bits 29-31. */
 
  /* Has this page been validated for use as its current type? */